package ma.platform.server.student.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 学生套餐预约表
 * @TableName tb_student_combo
 */
@TableName(value ="tb_student_combo")
@Data
public class TbStudentCombo  extends Model<TbStudentCombo> implements Serializable {
    /**
     * 
     */
    @TableId
    private Integer id;

    /**
     * 预约时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date date;

    /**
     * 学生id
     */
    private Long studentId;

    /**
     * 套餐id
     */
    private Long comboId;

    /**
     * 选择的日期套餐id
     */
    private Long dateComboId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}